def ProdT(n):
    S=0
    p=5
    i=1
    while i<=12:
        S=...
        p=...
        i=i+1
    return S